<div class="sidenav">
    {:hook('user_sidenav_before')}
    <ul class="list-group">
        <li class="list-group-heading">{:__('Member center')}</li>
        <li class="list-group-item {:$config['actionname']=='index'?'active':''}"> <a href="{:url('user/index')}"><i class="fa fa-user-circle fa-fw"></i> 个人中心</a> </li>
        <li class="list-group-item {:$config['actionname']=='curriculum'?'active':''}"> <a href="{:url('user/curriculum')}"><i class="fa fa-user-o fa-fw"></i> 课程表</a> </li>
        <li class="list-group-item {:$config['actionname']=='scorelog'?'active':''}"> <a href="{:url('user/scorelog')}"><i class="fa fa-user-o fa-fw"></i> 学生日志</a> </li>
    </ul>
    {:hook('user_sidenav_after')}
</div>